//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __ELASTOS_BSP_BOOTINFO_H__
#define __ELASTOS_BSP_BOOTINFO_H__

typedef struct PackageHeader {
    uint32_t ModuleInfo;
    uint32_t NumberOfModules;
    uint32_t PackSize;
    uint32_t Reserved;
} PackageHeader;

typedef struct ModuleInfo {
    uint32_t ModStart;
    uint32_t ModEnd;
    uint32_t ModName;
    uint32_t Reserved;
} ModuleInfo;

typedef struct BootInfo {
    uint32_t WriteMagic;
    uint32_t FlashSectorSize;
    uint32_t FlashOffset;
    uint32_t ImageOffset;
    uint32_t ImageSize;
} BootInfo;

#endif // __ELASTOS_BSP_BOOTINFO_H__
